﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Zh.Master" AutoEventWireup="true" CodeBehind="ZhBaoxiufabkui.aspx.cs" Inherits="XqWebSite.WebForm19" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">



        .style6
    {
        width: 174px;
            background-color: #A49DB5;
        }
        .style9
        {
            height: 9px;
        background-color: #A49DB5;
            text-decoration: underline;
        }
    .style8
    {
        text-align: center;
        font-family: 华文隶书;
        font-size: larger;
            color: #A3BAA5;
            background-color: #E2DAD1;
        }
        .style10
        {
            width: 100%;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table class="style1" style="height: 564px; width: 100%;">
        <tr>
            <td class="style6" rowspan="2">
                <asp:Menu ID="Menu1" runat="server" DataSourceID="SiteMapDataSource1" 
                        StaticDisplayLevels="2" style="font-family: 楷体">
                </asp:Menu>
            </td>
            <td class="style9">
                <asp:SiteMapPath ID="SiteMapPath1" runat="server" style="font-family: 楷体" 
                    SiteMapProvider="ZhuhuSiteMap">
                </asp:SiteMapPath>
            </td>
        </tr>
        <tr>
            <td class="style8">
                <table class="style10">
                    <tr>
                        <td>
                            报修反馈查看</td>
                    </tr>
                    <tr>
                        <td style="text-align: left">
                            报修人ID:<asp:TextBox ID="Tex_bxr" runat="server"></asp:TextBox>
                            <asp:Button ID="But_ss" runat="server" Text="搜索" onclick="But_ss_Click" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:GridView ID="GridView1" runat="server" AllowPaging="True" 
                                AutoGenerateColumns="False" DataKeyNames="ID" 
                                Height="325px" Width="1325px">
                                <Columns>
                                    <asp:BoundField DataField="ID" HeaderText="报修ID" InsertVisible="False" 
                                        ReadOnly="True" SortExpression="ID" />
                                    <asp:BoundField DataField="AdminID" HeaderText="审批人ID" 
                                        SortExpression="AdminID" />
                                    <asp:BoundField DataField="ZhuhuID" HeaderText="报修人ID" 
                                        SortExpression="ZhuhuID" />
                                    <asp:BoundField DataField="WeiXiuRenYuanID" HeaderText="维修人员ID" 
                                        SortExpression="WeiXiuRenYuanID" />
                                    <asp:BoundField DataField="BaoxiuNeiRong" HeaderText="报修内容" 
                                        SortExpression="BaoxiuNeiRong" />
                                    <asp:BoundField DataField="BaoxiuShijan" HeaderText="报修时间" 
                                        SortExpression="BaoxiuShijan" />
                                    <asp:BoundField DataField="ShengHe" HeaderText="审核状态" 
                                        SortExpression="ShengHe" />
                                    <asp:BoundField DataField="WeiXiuXinxi" HeaderText="维修信息" 
                                        SortExpression="WeiXiuXinxi" />
                                    <asp:BoundField DataField="WeixiuShijan" HeaderText="维修时间" 
                                        SortExpression="WeixiuShijan" />
                                    <asp:BoundField DataField="WeiXiuJieGuo" HeaderText="维修结果" 
                                        SortExpression="WeiXiuJieGuo" />
                                </Columns>
                            </asp:GridView>
                            <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                                ConnectionString="<%$ ConnectionStrings:WuYeGuanLiConnectionString %>" 
                                DeleteCommand="DELETE FROM [WeiXiuDan] WHERE [ID] = @ID" 
                                InsertCommand="INSERT INTO [WeiXiuDan] ([BaoxiuNeiRong], [BaoxiuShijan], [ShengHe], [WeiXiuXinxi], [WeixiuShijan], [WeiXiuJieGuo], [ZhuhuID], [AdminID], [WeiXiuRenYuanID]) VALUES (@BaoxiuNeiRong, @BaoxiuShijan, @ShengHe, @WeiXiuXinxi, @WeixiuShijan, @WeiXiuJieGuo, @ZhuhuID, @AdminID, @WeiXiuRenYuanID)" 
                                SelectCommand="SELECT * FROM [WeiXiuDan]" 
                                UpdateCommand="UPDATE [WeiXiuDan] SET [BaoxiuNeiRong] = @BaoxiuNeiRong, [BaoxiuShijan] = @BaoxiuShijan, [ShengHe] = @ShengHe, [WeiXiuXinxi] = @WeiXiuXinxi, [WeixiuShijan] = @WeixiuShijan, [WeiXiuJieGuo] = @WeiXiuJieGuo, [ZhuhuID] = @ZhuhuID, [AdminID] = @AdminID, [WeiXiuRenYuanID] = @WeiXiuRenYuanID WHERE [ID] = @ID">
                                <DeleteParameters>
                                    <asp:Parameter Name="ID" Type="Int64" />
                                </DeleteParameters>
                                <InsertParameters>
                                    <asp:Parameter Name="BaoxiuNeiRong" Type="String" />
                                    <asp:Parameter Name="BaoxiuShijan" Type="String" />
                                    <asp:Parameter Name="ShengHe" Type="String" />
                                    <asp:Parameter Name="WeiXiuXinxi" Type="String" />
                                    <asp:Parameter Name="WeixiuShijan" Type="String" />
                                    <asp:Parameter Name="WeiXiuJieGuo" Type="String" />
                                    <asp:Parameter Name="ZhuhuID" Type="Int64" />
                                    <asp:Parameter Name="AdminID" Type="Int64" />
                                    <asp:Parameter Name="WeiXiuRenYuanID" Type="Int64" />
                                </InsertParameters>
                                <UpdateParameters>
                                    <asp:Parameter Name="BaoxiuNeiRong" Type="String" />
                                    <asp:Parameter Name="BaoxiuShijan" Type="String" />
                                    <asp:Parameter Name="ShengHe" Type="String" />
                                    <asp:Parameter Name="WeiXiuXinxi" Type="String" />
                                    <asp:Parameter Name="WeixiuShijan" Type="String" />
                                    <asp:Parameter Name="WeiXiuJieGuo" Type="String" />
                                    <asp:Parameter Name="ZhuhuID" Type="Int64" />
                                    <asp:Parameter Name="AdminID" Type="Int64" />
                                    <asp:Parameter Name="WeiXiuRenYuanID" Type="Int64" />
                                    <asp:Parameter Name="ID" Type="Int64" />
                                </UpdateParameters>
                            </asp:SqlDataSource>
                        </td>
                    </tr>
                </table>
                <asp:SiteMapDataSource 
                        ID="SiteMapDataSource1" runat="server" 
                        SiteMapProvider="ZhuhuSiteMap" />
            </td>
        </tr>
    </table>
</asp:Content>
